/**
ss * Copyright 2010  Pavel Nemec <nemecp4@gmail.com> <br>
 * <br>
 * License - GPLv3<br>
 *<br>
 * This program is free software; you can redistribute it and/or modify<br>
 * it under the terms of the GNU General Public License as published by<br>
 * the Free Software Foundation; either version 3 of the License, or<br>
 * (at your option) any later version.<br>
 *<br>
 * This program is distributed in the hope that it will be useful,<br>
 * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
 * GNU General Public License for more details.<br>
 *<br>
 * You should have received a copy of the GNU General Public License<br>
 * along with this program. If not, see <http://www.gnu.org/licenses/>.<br>
 *<br>
 */
package eu.whowie.jast.client.nat;

import eu.whowie.jast.remote.JDialogInterface;
import eu.whowie.jast.remote.JWidgetFactoryInterface;
import eu.whowie.jast.remote.YJLabelInterface;

/**
 * @author Pavel Nemec
 * 
 */
public class JWidgetFactoryMockup implements JWidgetFactoryInterface {

	/*
	 * (non-Javadoc)
	 * 
	 * @see eu.whowie.jast.remote.JWidgetFactoryInterface#createDialog(int, int)
	 */
	@Override
	public JDialogInterface createDialog(int dialogType, int colorMode) {
		return new JDialogMockup(dialogType, colorMode);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see eu.whowie.jast.remote.JWidgetFactoryInterface#createLabel(int, int)
	 */
	@Override
	public YJLabelInterface createLabel(String text, boolean isHeading,
			boolean isOutput) {
		return new JLabelMockup(text, isHeading, isOutput);
	}

}
